<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="vehicleBrand.action?methodName=toAddVehicleBrand" method="post">
		<table class="querytable" align="center" width="40%">
			<tr>
				<th>品牌编号</th>
				<th>品牌名称</th>
				<th>操作</th>
			</tr>
			<c:forEach items="${blist }" var="brand">
				<tr>
					<td>${brand.vehicleBrandId }</td>
					<td>${brand.vehicleBrand }</td>
					<td>
						<a href="vehicleBrand.action?methodName=detailVehicleBrand&vehicleBrandId=${brand.vehicleBrandId }">查询</a>
						<a href="vehicleBrand.action?methodName=toUpdateVehicleBrand&vehicleBrandId=${brand.vehicleBrandId }">修改</a>
						<a onclick="return confirm('确认删除该品牌吗？')" href="vehicleBrand.action?methodName=doDeleteVehicleBrand&vehicleBrandId=${brand.vehicleBrandId }">删除</a>
					</td>
				</tr>
			</c:forEach>
			<tr>
				<td colspan="3" align="center">
					<input type="submit" value="新增品牌信息 " />
				</td>
			</tr>
		</table>
	</form> 



<link rel="stylesheet" href="${pageContext.request.contextPath }/css/editTablestyles.css">
<script type="text/javascript" src="${pageContext.request.contextPath }/webjars/jquery/1.12.4/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/listTable.js"></script>

</body>
</html>